﻿<%@ Page Title="Password Recovery Page" Language="C#" MasterPageFile="~/MasterPage.master"
    AutoEventWireup="true" CodeFile="Password_Recovery.aspx.cs" Inherits="Password_Recovery" %>

<asp:Content ID="Head" ContentPlaceHolderID="head" runat="Server">
    <link href="styles/client.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="top_menu">
        <div id="help_button">
            help
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <div id="left_content">
        <div class="left_image">
        </div>
    </div>
    <div id="right_content">
        <div id="content_area">
            <h2>
                Password Recovery Wizard
            </h2>
            <div class="form_box">
                <%--<asp:PasswordRecovery ID="PasswordRecovery1" runat="server">
                    <UserNameTemplate>--%>
                <table>
                    <tr>
                        <td align="center" colspan="2">
                            Forgot Your Password?
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            Enter your User Name to receive your password through email.
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="login_label">
                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="UserName" runat="server" CssClass="login_textfield"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="PasswordRecovery1"
                                CssClass="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="color: Red;">
                            <%--<asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>--%>
                            <asp:Label ID="FailureText" runat="server" Visible="False" CssClass="RequiredFieldValidator"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" colspan="2">
                            <asp:Button ID="SubmitButton" runat="server" CommandName="Submit" Text="Submit" ValidationGroup="PasswordRecovery1"
                                OnClick="SubmitButton_Click" CssClass="login_button" />
                        </td>
                    </tr>
                </table>
                <%--</UserNameTemplate>
                </asp:PasswordRecovery>--%>
            </div>
        </div>
        <div id="back">
            <asp:LinkButton ID="BackButton" runat="server" PostBackUrl="Default.aspx">back</asp:LinkButton>
        </div>
    </div>
</asp:Content>
